package com.xy.sendmsg.controller;

import com.sz.senfmsg.utils.SendMSG;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SendMsgController {

    @GetMapping("/sendmsg/{phone}/{code}")
    public void sendMSG(@PathVariable("phone") String phone , @PathVariable("code") String code){
        SendMSG.sendSMG(phone,code);
    }
}
